package com.owen.system.keep.account.dao;

import com.owen.system.keep.account.entity.KeepAccount;
import com.owen.system.keep.account.vo.KeepAccountVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 账户dao
 */
public interface KeepAccountDao {

    KeepAccountVO get(@Param("id") String id);

    List<KeepAccountVO> list(Map<String, Object> map);

    List<KeepAccountVO> findByCreateBy(String createBy);

    int count(Map<String, Object> map);

    int save(KeepAccount keepAccount);

    int update(KeepAccount keepAccount);

    int remove(@Param("id") String id);

    int batchRemove(String[] ids);


}
